/**
 * 
 */
package travibot.ui.gui.forms.viewers;

import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Table;

import travibot.ui.gui.forms.providers.content.TasksContentProvider;
import travibot.ui.gui.forms.providers.label.TasksLabelProvider;


/**
 * @author macekpet
 *
 */
public class TasksViewer extends TableViewer {

    public TasksViewer(Composite parent) {

        super(parent);
        
        init();
    }

    public TasksViewer(Composite parent, int style) {

        super(parent, style);
        
        init();
    }

    public TasksViewer(Table table) {

        super(table);
        
        init();
    }
    
    private void init(){
        
        this.setLabelProvider(new TasksLabelProvider());
        this.setContentProvider(new TasksContentProvider());
    }
    
    

}
